import { ApiProperty } from "@nestjs/swagger";

// TODO: @ApiProperty()可以由插件完成
export class User {
  // 不加@ApiProperty() 不显示
  @ApiProperty()
  readonly name: string;
  @ApiProperty()
  readonly age: number;
  @ApiProperty()
  readonly breed: string;
}